<?php
/**
 * Created by PhpStorm.
 * UsersF: Mloong
 * Date: 2019/2/25
 * Time: 14:36
 */

namespace app\login\service;


use app\login\model\Account;

class PreviewService
{
    private $model;
    public function __construct()
    {
        $this->model = new Account();
    }

    public function pageData($name,$type)
    {
        $type = $this->model->where('name','=',$name)
            ->value($type);
        $type_arr = explode('%',$type);

    }
}